package edu.njupt.ssm.service;

import edu.njupt.ssm.bean.Product;

import java.util.List;

/**
 * @Title: ProductService
 * @Author:孙尊义
 * @version:1.0
 * @since:1.0
 * @Date 2024/11/5 13:23
 */
public interface ProductService {
    Double findTurnover();

    List<Product> findAllProducts();

    List<Product> findProductsByName(String name);

    void addProduct(Product product);
}
